package cn.dmp.utils

import org.apache.commons.pool2.impl.GenericObjectPoolConfig
import redis.clients.jedis.JedisPool


object JedisPools {
  val jedisPoll = new JedisPool(new GenericObjectPoolConfig(), "192.168.161.11", 6379)
  def getJedis() = jedisPoll.getResource

}
